﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008F1 RID: 2289
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusSelectSkillScRsp : IMessage<HeliobusSelectSkillScRsp>, IMessage, IEquatable<HeliobusSelectSkillScRsp>, IDeepCloneable<HeliobusSelectSkillScRsp>, IBufferMessage
	{
		// Token: 0x17001CF4 RID: 7412
		// (get) Token: 0x06006691 RID: 26257 RVA: 0x0011373C File Offset: 0x0011193C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusSelectSkillScRsp> Parser
		{
			get
			{
				return HeliobusSelectSkillScRsp._parser;
			}
		}

		// Token: 0x17001CF5 RID: 7413
		// (get) Token: 0x06006692 RID: 26258 RVA: 0x00113743 File Offset: 0x00111943
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusSelectSkillScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001CF6 RID: 7414
		// (get) Token: 0x06006693 RID: 26259 RVA: 0x00113755 File Offset: 0x00111955
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusSelectSkillScRsp.Descriptor;
			}
		}

		// Token: 0x06006694 RID: 26260 RVA: 0x0011375C File Offset: 0x0011195C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSelectSkillScRsp()
		{
		}

		// Token: 0x06006695 RID: 26261 RVA: 0x00113764 File Offset: 0x00111964
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSelectSkillScRsp(HeliobusSelectSkillScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.skillId_ = other.skillId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006696 RID: 26262 RVA: 0x00113795 File Offset: 0x00111995
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSelectSkillScRsp Clone()
		{
			return new HeliobusSelectSkillScRsp(this);
		}

		// Token: 0x17001CF7 RID: 7415
		// (get) Token: 0x06006697 RID: 26263 RVA: 0x0011379D File Offset: 0x0011199D
		// (set) Token: 0x06006698 RID: 26264 RVA: 0x001137A5 File Offset: 0x001119A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001CF8 RID: 7416
		// (get) Token: 0x06006699 RID: 26265 RVA: 0x001137AE File Offset: 0x001119AE
		// (set) Token: 0x0600669A RID: 26266 RVA: 0x001137B6 File Offset: 0x001119B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x0600669B RID: 26267 RVA: 0x001137BF File Offset: 0x001119BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusSelectSkillScRsp);
		}

		// Token: 0x0600669C RID: 26268 RVA: 0x001137CD File Offset: 0x001119CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusSelectSkillScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.SkillId == other.SkillId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600669D RID: 26269 RVA: 0x0011380C File Offset: 0x00111A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600669E RID: 26270 RVA: 0x00113864 File Offset: 0x00111A64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600669F RID: 26271 RVA: 0x0011386C File Offset: 0x00111A6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060066A0 RID: 26272 RVA: 0x00113878 File Offset: 0x00111A78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060066A1 RID: 26273 RVA: 0x001138D0 File Offset: 0x00111AD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060066A2 RID: 26274 RVA: 0x00113928 File Offset: 0x00111B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusSelectSkillScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060066A3 RID: 26275 RVA: 0x00113978 File Offset: 0x00111B78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060066A4 RID: 26276 RVA: 0x00113984 File Offset: 0x00111B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.SkillId = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002739 RID: 10041
		private static readonly MessageParser<HeliobusSelectSkillScRsp> _parser = new MessageParser<HeliobusSelectSkillScRsp>(() => new HeliobusSelectSkillScRsp());

		// Token: 0x0400273A RID: 10042
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400273B RID: 10043
		public const int RetcodeFieldNumber = 1;

		// Token: 0x0400273C RID: 10044
		private uint retcode_;

		// Token: 0x0400273D RID: 10045
		public const int SkillIdFieldNumber = 12;

		// Token: 0x0400273E RID: 10046
		private uint skillId_;
	}
}
